<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
   <%@include file="/view/resource.jsp" %>
      <script type="text/javascript">
   <%
   String flag =(String)request.getAttribute("flag");
   if(flag != null && flag.equalsIgnoreCase("add")){
    %>
  	var flag=true;
    <%}else{ %>var flag=false;<%}%></script>
  </head>
  <body class="easyui-layout">
  	<input type="hidden" id="pjid" value="${pjid }">
  	 <input type="hidden" name="pjName" id="pjName" value="${mp['pjName']}">
  	 <input type="hidden" name="pctName" id="pctName" value="${mp['pctName']}">
 	 <input class="hidden" id='search_parentId' name="parentId">
     <!-- DataList  -->
	 <div region="center" border="false" >
     	<table id="data-list" ></table>
     </div>
     <script>
		            function getcont(){
			    	 	//tmulti('t3','t1','t2');
			    	 	tmulti('t4','t1','t2','t3');
			    	 }
		           </script>
     <!-- Edit Win&From -->
     <div id="edit-win" class="easyui-dialog" title="Edit Menu" data-options="closed:true,iconCls:'icon-save',modal:true"  style="width:500px;height:450px;">  
     	<form id="editForm" name="eform" class="ui-form" method="post"> 
     	 <!-- 隐藏文本框 -->
     	 <input class="hidden" name="id">
     	  <input class="hidden" name="penJobs" id="penJobs">
     	  <input class="hidden" name="createtime">
     	  <input class="hidden" name="person">
     	 <input class="hidden" name="deleted">
    	 <input class="hidden" name="parentId" id='edit_parentId'>
	            <div data-options="region:'north',split:true" style="height:185px;padding:10px">  
	               <div class="ftitle">详细</div>
		           <div class="fitem">
		               <label>人员:</label>
		               <input name="penName" id="penName" type="hidden">
		               <select id="hrcom" name="hrId" data-options="width:135"></select>
		           </div>
		           <div class="fitem">
		               <label>岗位:</label>
		               <select name="hpoId" id="hposelect" data-options="width:135"></select>
		           </div>
		           <div class="fitem">
		               <label>项目系数:</label>
		               <input class="easyui-validatebox" type="text" name="penLakeproject" id="t1" data-options="required:true">
		           </div>  
		           <div class="fitem">  
		               <label>服务月数:</label>  
		               <input class="easyui-validatebox" type="text" name="penSertime" id="t2" data-options="required:true">
		           </div>  
		           <div class="fitem">  
		               <label>月人工成本:</label>  
		               <input class="easyui-validatebox" type="text" name="penMonthcost" id="t3" onKeyUp="getcont()" data-options="required:true">
		           </div>  
		           <div class="fitem">  
		               <label>人工总成本:</label>  
		               <input class="easyui-validatebox" type="text" name="penAllcost" id="t4" data-options="required:true">
		           </div>
	            </div>
     	</form>
  	 </div>
  <script type="text/javascript" src="<%=basePath%>/osjs/project/TostPjEngdepartcost.js"></script>
  </body>
</html>